package com.itheima.StringDemo;

import java.util.Scanner;

public class StringDemo3 {
    public static void main(String[] args) {
        //键盘录入一个字符串并进行遍历
        //1.键盘录入一个字符串
        Scanner sc=new Scanner(System.in);
        String s1=sc.next();
        //2.对字符串进行遍历
        for (int i = 0; i < s1.length(); i++) {
            System.out.println(s1.charAt(i));
        }
    }
}
